package com.teamone.etl.dataruleengine.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.teamone.etl.dataruleengine.dao.RuleTypeDao;
import com.teamone.etl.dataruleengine.entity.RuleType;
import com.teamone.etl.dataruleengine.service.RuleTypeService;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * (RuleType)表服务实现类
 *
 * @author makejava
 * @since 2021-01-12 21:04:41
 */
@Service("ruleTypeService")
@Transactional(rollbackFor = Exception.class)
public class RuleTypeServiceImpl extends ServiceImpl<RuleTypeDao, RuleType> implements RuleTypeService {

    @Resource
    private RuleTypeDao ruleTypeDao;

    @Override
    public List<RuleType> typeList() {
        return ruleTypeDao.typeList();
    }
}